<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


            
                <legend>View Rooms</legend>
                <p> The table for rooms will be displayed in the above style </p>
                
              <table class="table table-bordered white">
              <thead>
                <tr>
                  
                  <th>Room Type</th>
                  <th>Room NO</th>
                  <th>Edit</th>
                  <th>Delete</th>
                
                </tr>
              </thead>
              
               <c:forEach var="room" items="${room}" >
               
              <tbody>
                <tr>
                  <td>${room.roomtypeid}</td>
                  <td>${room.roomno}</td>
                 
                 <td><a href="EditRoomServlet?roomtypeid=${room.roomtypeid} roomno=${room.roomno}" class="btn btn-info btn-mini edit-button" name="MemTypeEdit"><i class="icon-edit icon-white"></i> Edit</a></td>
                 <td><a href="DeleteRoomServlet?roomtypeid=${room.roomtypeid} roomno=${room.roomno}" class="btn btn-danger delete-button btn-mini" name="MemTypeDelete"><i class="icon-trash icon-white"></i> Delete</a></td> 

                </tr>
               
              </tbody>
              </c:forEach>
            </table>
                
           

        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.1.min.js"><\/script>')</script>

        <script src="js/vendor/bootstrap.min.js"></script>

        <script src="js/main.js"></script>
    </body>
</html>
